package cn.edu.zut.service;

import cn.edu.zut.domain.AwardsInfo;

import java.util.List;

public interface AwardService {
    public void add(AwardsInfo awardsInfo);

    public void update(AwardsInfo awardsInfo);

    public List<AwardsInfo> findAll();

    public void deleteByUserId(int id);

    public AwardsInfo findByUserId(int id);

    public AwardsInfo findBySTNumberAndContestAndAward(String STNumber, String contestName, String awardLevel);

    public List<AwardsInfo> findLikeByPrint(String STNumber, String contestName, String awardLevel);

    public List<AwardsInfo> findBySTNumber(String STNumber);

    public List<AwardsInfo> findByContestName(String contestName);

    public int findEmptyId();

    public List<AwardsInfo> findAllByPrint(AwardsInfo awardsInfo);
}
